package com.dolittle.template;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class DolittleTemplateActivity extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		chooseActivity(1);
	}

	private void chooseActivity(int choice) {
		Intent mMenuActivityIntent = new Intent();
		Bundle bun = new Bundle();
		switch (choice) {

		case 1:
			mMenuActivityIntent.setClass(this, MenuActivity.class);
			mMenuActivityIntent.putExtras(bun);
			startActivityForResult(mMenuActivityIntent, R.id.MenuActivityID);
			break;
		default:
			chooseActivity(1);
			break;

		}
	}

	@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {

		switch (requestCode) {
		case R.id.MenuActivityID:
			break;
		default:
			break;
		}

	}
}